package cn.rxls.community.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 卡卷(CardRolls)表实体类
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("card_rolls")
public class CardRolls {
    @TableId(type = IdType.ASSIGN_ID)
    //主键id    
    private Long cardRollsId;

    //规则
    private String cardRollsRule;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //生效时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;
    //结束时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;
    //所属用户
    private Long cardRollsUser;
    //卡卷状态
    private Integer cardRollsState;
    //卡卷描述
    private String cardRollsMsg;
    //卡卷类型
    private Integer cardRollsCategory;
    //卡卷说明
    private String cardRollsExplain;
}
